import 'package:json_annotation/json_annotation.dart';

part 'product_param.g.dart';

@JsonSerializable()
class ProductParam extends Object {
  @JsonKey(name: 'key')
  String key;

  @JsonKey(name: 'value')
  String value;

  ProductParam(
    this.key,
    this.value,
  );

  factory ProductParam.fromJson(Map<String, dynamic> srcJson) =>
      _$ProductParamFromJson(srcJson);
}
